#include "my_stdio.h"


int main()
{
    mFILE* pf = mfopen("log.txt","w"); 
    if (pf == NULL) exit(2);
    char buffer[30] = {"hello world\n"};
    int cnt = 1000;
    while(cnt--)
    {
        mfwrite(buffer,my_strlen(buffer),pf);
    }
    mfclose(pf);
    return 0;
}
